<?php
/**
 * The template for displaying Tag Archive pages.
 *
 * @package WordPress
 * @subpackage Twenty_Ten
 * @since Twenty Ten 1.0
 */

get_header(); ?>

		<div id="container">
			<div id="content" role="main">

				<div class = "entry-list">
				<div class = "etlh">
					<div class = "etrh">
					<div class="et-header">
					<span class = "cat-title left">
					<h2>
						<div class="current-place">
							<a><?php _e('您的位置：');?></a>
								<a href="<?php echo get_settings('home'); ?>/" title="<?php _e('Home');?>"><?php _e('Home');?></a>&nbsp;&gt;
								
								<a href="<?php get_tag_link($tag->tag_id);?>">
								<?php echo single_tag_title( '', false );?></a>							
						</div>
					</h2>
					</span>
					</div><!--et-header-->
					</div><!--etrh-->
					  </div><!--etlh-->
				
			<div class="rec-entry" >
			<?php /* Display navigation to next/previous pages when applicable */ ?>
				<?php if ( $wp_query->max_num_pages > 1 ) : ?>
					<div id="nav-above" class="navigation">
						<div class="nav-previous"><?php next_posts_link( __( '<span class="meta-nav">&larr;</span> Older posts', 'xiufanr' ) ); ?></div>
						<div class="nav-next"><?php previous_posts_link( __( 'Newer posts <span class="meta-nav">&rarr;</span>', 'xiufanr' ) ); ?></div>
					</div><!-- #nav-above -->
				<?php endif; ?>
<?php
/* Run the loop for the tag archive to output the posts
 * If you want to overload this in a child theme then include a file
 * called loop-tag.php and that will be used instead.
 */
 get_template_part( 'loop', 'tag' );
?>
			<?php /* Display navigation to next/previous pages when applicable */ ?>
				<?php if (  $wp_query->max_num_pages > 1 ) : ?>
								<div id="nav-below" class="navigation">
									<div class="nav-previous"><?php next_posts_link( __( '<span class="meta-nav">&larr;</span> Older posts', 'xiufanr' ) ); ?></div>
									<div class="nav-next"><?php previous_posts_link( __( 'Newer posts <span class="meta-nav">&rarr;</span>', 'xiufanr' ) ); ?></div>
								</div><!-- #nav-below -->
				<?php endif; ?>
			</div><!--rec-entry-->
			<div class = "bg-bottom">
							<div class = "bg-bottom-r"></div>
					  </div>
			</div><!--entry-list-->
			</div><!-- #content -->
		</div><!-- #container -->

<?php get_sidebar(); ?>
<?php get_footer(); ?>
